Attribute directives in angular